package com.heima.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "jwt")
@Data
public class JWTConfig {
    // Docker相关JWT配置
    private Long dockerTtl;
    private String dockerTokenName;
    private String dockerSecretKey;

    // Resident相关JWT配置
    private Long residentTtl;
    private String residentTokenName;
    private String residentSecretKey;
}
